package centroidtc;


/**
 *  Store text (as a StringBuffer), its id (as a String), and the
 *  categories to which it belongs (as a vector)
 */
public class ParsedItem {

	private StringBuffer text = null;
	private String id = null;
	private String topic = null;
	private String title = null;
	private String manAdd = null;
	private String backup = null;

	public ParsedItem() {

	}
	
	public void retSet(){
		text = new StringBuffer("");
		topic = "";
		title = "";
		manAdd = "";
		backup = "";
		id = "";
	}
	
	public String getText() {
		return text + "";
	}

	public void setText(String text) {
		this.text = new StringBuffer(text);
	}

	/**
	 * Get the value of id.
	 */
	public String getId() {
		return id;
	}

	/**
	 * Set the value of id.
	 */
	public void setId(String v) {
		this.id = v;
	}

	public String getTopic() {
		return topic;
	}

	public void setTopic(String topic) {
		this.topic = topic;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String cl) {
		this.title = cl;
	}

	public String getUse() {
		return manAdd;
	}

	public void setUse(String use) {
		this.manAdd = use;
	}

	public String getHasTFIDF() {
		return backup;
	}

	public void setHasTFIDF(String hasTFIDF) {
		backup = hasTFIDF;
	}
}
